home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 6.1 KB | 336 lines | [TEXT/MPS ] |
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: ODTypesB.xh.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emitxh.dll: 2.33
- */
-
- #ifndef SOM_Module_OpenDoc_Global_TypesB_defined
- #define SOM_Module_OpenDoc_Global_TypesB_defined 1
- #include <som.xh>
-
- /*
- * Start of user-defined types:
- */
- typedef unsigned long ODDoneState;
- #define kODDone 1UL
- #define kODUndone 2UL
- #define kODRedone 3UL
- typedef
- boolean ODBoolean;
-
- /*
- * boolean value. Do not count on its size.
- */
- typedef
- octet ODUByte;
-
- /*
- * unsigned >= 8-bit value
- */
- typedef
- char ODSByte;
-
- /*
- * signed >= 8-bit value
- */
- typedef
- unsigned short ODUShort;
-
- /*
- * unsigned >= 16-bit value
- */
- typedef
- short ODSShort;
-
- /*
- * signed >= 16-bit value
- */
- typedef
- unsigned long ODULong;
-
- /*
- * unsigned >= 32-bit value
- */
- typedef
- long ODSLong;
-
- /*
- * signed >= 32-bit value
- */
- typedef
- float ODFloat;
-
- /*
- * floating-point value
- */
- typedef
- void* ODPtr;
-
- /*
- * OD pointer
- */
- typedef
- corbastring ODISOStr;
-
- /*
- * 7 bit ascii. No embedded NULLs. NULL
- * terminated.
- */
- typedef
- ODISOStr ODType;
-
- /*
- * Used for storage types, focus types,
- * data types, etc.
- */
- typedef
- ODULong ODTypeToken;
-
- /*
- * Tokenized form of ODType
- */
- typedef
- ODULong ODID;
-
- /*
- * Storage Unit IDs
- */
- typedef
- ODULong ODPersistentObjectID;
-
- /*
- * Persistent Object ID used for scripting
- */
- typedef
- ODType ODValueType;
-
- /*
- * Used to identify the type of the value, e.g., TEXT, PICT and so
- * on. Obviously, the type doesn't need to be an OSType.
- */
- typedef
- ODSLong ODError;
-
- /*
- * >= 32-bit exception code
- */
- typedef
- ODULong ODToken;
-
- /*
- * >= 32-bit unsigned value for tokens
- */
- typedef
- ODULong ODSize;
-
- /*
- * >= 32-bit unsigned value for size
- */
- typedef
- ODULong ODInfoType;
-
- /*
- * The type for the part info stored in a frame
- */
- typedef
- ODULong ODFlags;
-
- /*
- * >= 32-bit unsigned value for flags
- */
- #ifndef _IDL_SEQUENCE_octet_defined
- #define _IDL_SEQUENCE_octet_defined
- typedef struct {
- unsigned long _maximum;
- unsigned long _length;
- octet *_buffer;
- } _IDL_SEQUENCE_octet;
- #endif /* _IDL_SEQUENCE_octet_defined */
- typedef
- _IDL_SEQUENCE_octet ODByteArray;
-
- /*
- * ODByteArray should be used for foreign types larger than 4 bytes
- * and for variable length data in general
- */
- typedef
- ODByteArray ODContainerID;
- typedef
- ODISOStr ODContainerType;
- typedef
- ODType ODObjectType;
- typedef
- ODType ODFocusType;
-
- /*
- * This is a string, which can be tokenized
- */
- typedef
- ODByteArray ODActionData;
-
- /*
- * Action data for undo/redo
- */
- typedef unsigned long ODFramePosition;
- #define kODFrameBehind 1UL
- #define kODFrameInFront 2UL
- typedef unsigned long ODTraversalType;
- #define kODTopDown 1UL
- #define kODBottomUp 2UL
- #define kODChildrenOnly 3UL
- typedef unsigned long ODSiblingOrder;
- #define kODFrontToBack 1UL
- #define kODBackToFront 2UL
- typedef unsigned long ODNSTypeSpec;
- #define kODNSDataTypeODObject 1UL
- #define kODNSDataTypeODValue 2UL
- typedef unsigned long ODRespectMarksChoices;
- #define kODDontRespectMarks 1UL
- #define kODRespectMarks 2UL
- typedef unsigned long ODActionType;
- #define kODSingleAction 1UL
- #define kODBeginAction 2UL
- #define kODEndAction 3UL
- typedef
- ODSLong ODFixed;
-
- /*
- * 16.16 fixed-point value
- */
- typedef
- ODSLong ODFract;
-
- /*
- * 2.30 fixed-point value
- */
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct ODMatrix {
- ODFixed m[3][3];
-
- /*
- * Same as "mapping" in QuickDraw GX.
- */
- } ODMatrix;
- #if powerc
- # pragma options align=reset
- #endif
- typedef
- ODSShort ODGraphicsSystem;
-
- /*
- * Type of graphics system
- */
- typedef
- ODSShort ODTransformType;
- typedef unsigned long ODGeometryMode;
- #define kODLoseGeometry 1UL
- #define kODPreserveGeometry 2UL
- #define kODNeedsGeometry 3UL
- typedef unsigned long ODLinkStatus;
- #define kODInLinkDestination 1UL
- #define kODInLinkSource 2UL
- #define kODNotInLink 3UL
- typedef unsigned long ODHighlight;
- #define kODNoHighlight 1UL
- #define kODFullHighlight 2UL
- #define kODDimHighlight 3UL
- typedef unsigned long ODDropResult;
- #define kODDropFail 1UL
- #define kODDropCopy 2UL
- #define kODDropMove 3UL
- #define kODDropUnfinished 4UL
- typedef
- ODULong ODLinkKey;
- typedef unsigned long ODTranslateResult;
- #define kODCannotTranslate 1UL
- #define kODCanTranslate 2UL
- typedef
- ODULong ODPlatformTypeSpace;
- typedef
- void* ODValue;
- typedef
- ODID ODValueIndex;
- typedef
- ODID ODStorageUnitID;
- #define kODStorageUnitRefSize 4 /* 4 */
- typedef
- ODUByte ODStorageUnitRef[4];
- typedef
- ODULong ODStorageUnitKey;
- typedef
- ODISOStr ODPropertyName;
- typedef
- ODISOStr ODStorageUnitName;
- typedef
- ODULong ODPositionCode;
- typedef
- ODID ODDocumentID;
- typedef unsigned long ODPurgePriority;
- #define kODInvisibleBlocks 1UL
- #define kODAllBlocks 2UL
- #define kODVisibleBlocks 3UL
- typedef unsigned long ODCloneKind;
- #define kODCloneCopy 1UL
- #define kODCloneCut 2UL
- #define kODClonePaste 3UL
- #define kODCloneDropCopy 4UL
- #define kODCloneDropMove 5UL
- #define kODCloneToLink 6UL
- #define kODCloneFromLink 7UL
- typedef unsigned long ODDraftPermissions;
- #define kODDPNone 1UL
- #define kODDPTransient 2UL
- #define kODDPReadOnly 3UL
- #define kODDPSharedWrite 4UL
- #define kODDPExclusiveWrite 5UL
- typedef
- ODID ODDraftID;
- typedef
- ODISOStr ODDraftName;
- #define ex_ODException "::ODException"
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct ODException {
- ODError error;
- char message[256];
- } ODException;
- #if powerc
- # pragma options align=reset
- #endif
- #define OpenDoc_Global_TypesB_OpenDoc_Types_Version "1.0."
- #define OpenDoc_Global_TypesB_OpenDoc_Types_Version "1.0."
-
- #ifndef SOM_DONT_USE_SHORT_NAMES
- #ifndef SOMTGD_OpenDoc_Types_Version
- #ifdef OpenDoc_Types_Version
- #undef OpenDoc_Types_Version
- #define SOMTGD_OpenDoc_Types_Version 1
- #else
- #define OpenDoc_Types_Version OpenDoc_Global_TypesB_OpenDoc_Types_Version
- #endif /* OpenDoc_Types_Version */
- #endif /* SOMTGD_OpenDoc_Types_Version */
- #endif /* SOM_DONT_USE_SHORT_NAMES */
-
- /*
- * End of user-defined types.
- */
- #endif /* SOM_Module_OpenDoc_Global_TypesB_defined */
-